import axios from 'axios'

//form提交
export  function formupload4File(url,param){
    return axios({
        url:url,
        data:param,
        method:'post',
        headers: {
            'Content-Type': 'multipart/form-data'
        }
    })
}
//form 提交同步
export  async function  formupload4FileAsync (url,param){
    let s=await axios({
        url:url,
        data:param,
        method:'post',
        headers: {
            'Content-Type': 'multipart/form-data'
        }
    });
   return s;
}